<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>标签页组件</title>
  <link href="https://cdn.bootcss.com/normalize/8.0.0/normalize.css" rel="stylesheet">
  <link rel="stylesheet" href="style.css">
  
</head>
<body>
  <div id="app" v-cloak>
    <tabs v-model="activeKey">
      <pane label="标签一" name="1">
        标签一的内容
      </pane>
      <pane label="标签二" name="2">
        标签二的内容
      </pane>
      <pane label="标签三" name="3">
        标签三的内容
      </pane>
    </tabs>
  </div>
  
  <script src="https://cdn.bootcss.com/vue/2.5.16/vue.js"></script>
  <script src="pane.js"></script>
  <script src="tabs.js"></script>
  <script>
  
    var app = new Vue({
      el: '#app',
      data: {
        activeKey: '1'
      }
    });
  </script>
</body>
</html>